<h3>
  <%= link_to "Article #{@photo.article.title}'s Photos", 
              article_photos_path(:article_id => @photo.article) %>
</h3>
<h2><%=h @photo.title %></h2>
<p><%=h @photo.body %>


  <p>
    <%= link_to 'Edit', article_edit_photo_path(:article_id=>@photo.article, :id=>@photo) %>, 
    <%= link_to 'Delete', article_photo_path(:article_id => @photo.article, :id => @photo), 
                                          :confirm => 'Are you sure?', 
                                          :method => :delete %>
  </p>


<%= image_tag @photo.public_filename, :id => 'photo' %>
